package org.example.mapper;

import feign.Param;
import org.apache.ibatis.annotations.Mapper;
import org.example.domain.CarClientPlan;
import org.example.domain.CarPlan;

import java.util.List;

@Mapper
public interface CarPlanMapper {


    List<CarPlan> listAll(CarPlan carPlan);

    void savePlan(CarPlan carPlan);

    void saveBatch(List<CarPlan> cacheDataList);

    List<CarPlan> selectByPlanId(Integer clientId);

    void updateQiangDanById(Integer planId);

    CarPlan selectByPlanById(Integer planId);

    void updateById(Integer planIds);

    CarPlan selectByplanIdAndClientId(@Param("planId") Integer planId,@Param("clientId") Integer clientId);

}
